home *** CD-ROM | disk | FTP | other *** search
/ Aminet 50 / Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso / Aminet / text / edit / tecoc-146.lha / exeh.c < prev    next >
C/C++ Source or Header  |  1991-07-05  |  751b  |  27 lines

  1. /*****************************************************************************
  2.  
  3.     ExeH()
  4.  
  5.     This function executes an H command.
  6.     H    Equivalent to the numeric pair "B,Z", or "from the
  7.         beginning of the buffer up to the end of the buffer."
  8.         Thus, H represents the whole buffer.
  9.  
  10. *****************************************************************************/
  11.  
  12. #include "zport.h"        /* define portability identifiers */
  13. #include "tecoc.h"        /* define general identifiers */
  14. #include "defext.h"        /* define external global variables */
  15.  
  16. DEFAULT ExeH()            /* execute an H command */
  17. {
  18.     DBGFEN(1,"ExeH",NULL);
  19.  
  20.     MArgmt = 0;        /* load m with B */
  21.     CmdMod |= MARGIS;    /* say there's an m,n pair */
  22.  
  23.     DBGFEX(1,DbgFNm,"ExeZ()");
  24.  
  25.     return ExeZ();        /* load n with Z */
  26. }
  27.